package com.pubpage.flow.flow_search;

import com.pub.database.*;
import java.util.*;

public class View {
   public View(){
      setMultiLang();
   }
   private String gstrOnloadScript;
   public String getOnloadScript(){
      return this.gstrOnloadScript;
   }
   public void setOnloadScript(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrOnloadScript=pstrParameter;
   }
   private String gstrPrgAction;
   public String getPrgAction(){
      return this.gstrPrgAction;
   }
   public void setPrgAction(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrPrgAction=pstrParameter;
   }
   private String gstrPrgStatus;
   public String getPrgStatus(){
      return this.gstrPrgStatus;
   }
   private String gstrDB_Alias;
   public String getdb_alias(){
      return this.gstrDB_Alias;
   }
   public void setdb_alias(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrDB_Alias=pstrParameter;
   }
   private boolean gblnDBDebug=false;
   public boolean getdb_debug(){
      return this.gblnDBDebug;
   }
   public void setdb_debug(boolean pblnParameter){
      this.gblnDBDebug=pblnParameter;
   }
   private String gstrSourceCharset="utf-8";
   public String getsource_charset(){
      return this.gstrSourceCharset;
   }
   public void setsource_charset(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrSourceCharset=pstrParameter;
   }
   private String gstrTargetCharset="utf-8";
   public String gettarget_charset(){
      return this.gstrTargetCharset;
   }
   private String gstrPrgTitle;
   public String getPrgTitle(){
      return this.gstrPrgTitle;
   }
   public void setPrgTitle(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrPrgTitle=pstrParameter;
   }
   public void settarget_charset(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrTargetCharset=pstrParameter;
   }
   private String gstrBtnQueryTitle;
   public String getBtnQueryTitle(){
      return this.gstrBtnQueryTitle;
   }
   public void setBtnQueryTitle(String pstrParameter){
   if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
      this.gstrBtnQueryTitle=pstrParameter;
   }

   private String find_flow_num_title=null;
   private String find_app_date_title_to=null;
   private String find_app_date_title_from=null;
   private String find_empno_title=null;
   private String find_empno_app_title=null;
   private String find_status_title=null;
   private String find_flow_num=null;
   private String find_app_date_to=null;
   private String find_app_date_from=null;
   private String find_empno=null;
   private String find_empno_app=null;
   private String find_status=null;
   private String mouse_double_click_tips=null;
   private String dataViewHtml=null;
   private String find_status_list=null;
   private String data_kind=null;
   private String request_URI=null;
   private String find_request_date=null;
   private DataView dataView=null;
   private DataViewForm dataViewForm=null;
   private String flow_code=null;
   private String flow_main_table=null;
   private String query_page=null;
   private String BtnCancelTitle=null;

   private void setMultiLang(){
      ResourceBundle rbdTitleResource=ResourceBundle.getBundle("com\\pubpage\\flow\\flow_search\\Multi-lang",Locale.getDefault());

      try{
          setPrgTitle(rbdTitleResource.getString("prgTitle"));
          setBtnQueryTitle(rbdTitleResource.getString("BtnQueryTitle"));

          setFind_flow_num_title(rbdTitleResource.getString("find_flow_num_title"));
          setFind_app_date_title_to(rbdTitleResource.getString("find_app_date_title_to"));
          setFind_app_date_title_from(rbdTitleResource.getString("find_app_date_title_from"));
          setFind_empno_title(rbdTitleResource.getString("find_empno_title"));
          setFind_empno_app_title(rbdTitleResource.getString("find_empno_app_title"));
          setFind_status_title(rbdTitleResource.getString("find_status_title"));
          setMouse_double_click_tips(rbdTitleResource.getString("mouse_double_click_tips"));
          setBtnCancelTitle(rbdTitleResource.getString("BtnCancelTitle"));
      }
      catch(Exception e){
         e.printStackTrace();
      }
   }

   public String getMessage(String pstrKey){
      return ResourceBundle.getBundle("com\\pubpage\\flow\\flow_search\\Multi-lang",Locale.getDefault()).getString(pstrKey);
   }

    public String getFind_status_title() {
        return find_status_title;
    }

    public String getFind_status() {
        return find_status;
    }

    public String getFind_app_date_title_to() {
        return find_app_date_title_to;
    }

    public String getFind_app_date_title_from() {
        return find_app_date_title_from;
    }

    public String getFind_app_date_to() {
        return find_app_date_to;
    }
    public String getFind_app_date_from() {
        return find_app_date_from;
    }
    public String getFind_flow_num_title() {
        return find_flow_num_title;
    }

    public String getFind_flow_num() {
        return find_flow_num;
    }

    public String getFind_empno_title() {
        return find_empno_title;
    }

    public String getFind_empno_app_title() {
        return find_empno_app_title;
    }

    public String getFind_empno_app() {
        return find_empno_app;
    }

    public void setFind_empno(String find_empno) {
        this.find_empno = find_empno;
    }

    public void setFind_status_title(String find_status_title) {
        this.find_status_title = find_status_title;
    }

    public void setFind_status(String find_status) {
        this.find_status = find_status;
    }

    public void setFind_app_date_title_to(String find_app_date_title_to) {
        this.find_app_date_title_to = find_app_date_title_to;
    }
    public void setFind_app_date_title_from(String find_app_date_title_from) {
        this.find_app_date_title_from = find_app_date_title_from;
    }
    public void setFind_app_date_from(String find_app_date_from) {
        this.find_app_date_from = find_app_date_from;
    }
    public void setFind_app_date_to(String find_app_date_to) {
        this.find_app_date_to = find_app_date_to;
    }
    public void setFind_flow_num_title(String find_flow_num_title) {
        this.find_flow_num_title = find_flow_num_title;
    }

    public void setFind_flow_num(String find_flow_num) {
        this.find_flow_num = find_flow_num;
    }

    public void setFind_empno_title(String find_empno_title) {
        this.find_empno_title = find_empno_title;
    }

    public void setFind_empno_app_title(String find_empno_app_title) {
        this.find_empno_app_title = find_empno_app_title;
    }

    public void setFind_empno_app(String find_empno_app) {
        this.find_empno_app = find_empno_app;
    }

    public void setMouse_double_click_tips(String mouse_double_click_tips) {
        this.mouse_double_click_tips = mouse_double_click_tips;
    }

    public void setDataViewHtml(String dataViewHtml) {
        this.dataViewHtml = dataViewHtml;
    }

    public void setFind_status_list(String find_status_list) {
        this.find_status_list = find_status_list;
    }

    public void setData_kind(String data_kind) {
        this.data_kind = data_kind;
    }

    public void setDataViewForm(DataViewForm dataViewForm) {
        this.dataViewForm = dataViewForm;
    }

    public void setDataView(DataView dataView) {
        this.dataView = dataView;
    }

    public void setRequest_URI(String request_URI) {
        this.request_URI = request_URI;
    }

  public void setFind_request_date(String find_request_date) {
    this.find_request_date = find_request_date;
  }

    public void setFlow_main_table(String flow_main_table) {
        this.flow_main_table = flow_main_table;
    }

    public void setFlow_code(String flow_code) {
        this.flow_code = flow_code;
    }

    public void setQuery_page(String query_page) {
        this.query_page = query_page;
    }

    public void setBtnCancelTitle(String BtnCancelTitle) {
        this.BtnCancelTitle = BtnCancelTitle;
    }

    public String getFind_empno() {
        return find_empno;
    }

    public String getMouse_double_click_tips() {
        return mouse_double_click_tips;
    }

    public String getDataViewHtml() {
        return dataViewHtml;
    }

    public String getFind_status_list() {
        return find_status_list;
    }

    public String getData_kind() {
        return data_kind;
    }

    public DataViewForm getDataViewForm() {
        return dataViewForm;
    }

    public DataView getDataView() {
        return dataView;
    }

    public String getRequest_URI() {
        return request_URI;
    }

  public String getFind_request_date() {
    return find_request_date;
  }

    public String getFlow_main_table() {
        return flow_main_table;
    }

    public String getFlow_code() {
        return flow_code;
    }

    public String getQuery_page() {
        return query_page;
    }

    public String getBtnCancelTitle() {
        return BtnCancelTitle;
    }
}
